package com.dys.bean;


import java.util.Arrays;
import java.util.List;

/**
 * @Author: 疾风
 * @ClassName: Employee
 * @Description: 员工实体
 * @CreateDate: 2024/10/18
 * @Version: v1.0.0
 */
public class Employee {
    private int id;
    private String eName;
    private String[] hobby;
    private List<String> phone;

    public Employee() {
    }

    public Employee(int id, String eName, String[] hobby, List<String> phone) {
        this.id = id;
        this.eName = eName;
        this.hobby = hobby;
        this.phone = phone;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String geteName() {
        return eName;
    }

    public void seteName(String eName) {
        this.eName = eName;
    }

    public String[] getHobby() {
        return hobby;
    }

    public void setHobby(String[] hobby) {
        this.hobby = hobby;
    }

    public List<String> getPhone() {
        return phone;
    }

    public void setPhone(List<String> phone) {
        this.phone = phone;
    }

    @Override
    public String toString() {
        return "Employee{" +
                "id=" + id +
                ", eName='" + eName + '\'' +
                ", hobby=" + Arrays.toString(hobby) +
                ", phone=" + phone +
                '}';
    }
}
